/**
* @author Ashish Gupta
* CVSSP, University of Surrey
* Copyright (c) 2010 Ashish Gupta
* All rights reserved.
*/
/**
 * 
 */
package uk.ac.surrey.agupta.acquisition;

import java.io.IOException;
import java.util.Iterator;



import uk.ac.surrey.agupta.data.PascalVocImageSet;

/**
 * @author Ashish
 *
 */
public class TestReadImageSet {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		PascalVocImageSet imageset = new PascalVocImageSet();
		String category = "car";
		String dataSource = "E:/Data/GAdata/";
		ReadImageSet.read(imageset, category, dataSource);
//		
		Iterator<String> itrimgname = imageset.getImageName().iterator();
		Iterator<Integer> itrclasslabel = imageset.getClassLabel().iterator();
		while(itrimgname.hasNext()&&itrclasslabel.hasNext()){
			System.out.println(itrimgname.next() + "\t" + itrclasslabel.next());
		}
	}

}
